<!DOCTYPE html>
<html lang="en">
<head>
    <title>工作台</title>
    <link rel="stylesheet" href="/static/css/main-page/g-reset.css" />
    <script src="/webjars/miniui/boot.js" type="text/javascript"></script>
    <link href="/static/css/main-page/home-public.css" rel="stylesheet" type="text/css" />
    <link href="/static/css/main-page/home3.css" rel="stylesheet" type="text/css" />
    <link href="/static/css/main-page/messageDetail.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/static/js/main-page/echarts.min.js"></script>
    <script type="text/javascript" src="/static/js/azbj/work/State.js"></script>
    <style>
        .inputCtl{
            background-color: #cae8fc;
        }
        body {
            height:100%;
            background:transparent;
        }
        .home-page {
            width:100%;
            height:100%;
        }
        .info-box1{
            height: 690px;
            width: 254px;
            overflow: hidden;
            overflow-y: auto;
            padding: 5px 15px;
            background: #ffffff;
        }
        .tab-wrapper{
            position: absolute;
            top: 0;
            bottom: 0;
            left: 365px;
            box-sizing: border-box;
        }
        ::-webkit-scrollbar{
            display: none;
        }
        .info-box-padding{
            margin-top: -18px;
            padding: 10px 15px 15px;
            background: #EFF2FA;
        }
    </style>

</head>
<body>
<div class="home-page">
    <div class="home-top clearfix">
        <div class="left-nav">
            <div  style="padding: 10px 5px;position: relative;">
                <div class="info-box-padding">
                    <div>状态</div>
                    <ul class="info-box1 custom-scrollbar">
                        <#--监狱、看守所、社矫中心，-->
                        <#if level=='01' || level=='02' || level=='05' >
                                <input name="submit" type="image" value="全部" src="/static/images/work/all.png" onclick="toPage(QB,this)"/>
                                <input name="submit" type="image" value="待核查人员" class="inputCtl" src="/static/images/work/personnelToBeChecked.png" onclick="toPage(DHC,this)"/>
                                <input name="submit" type="image" value="核查中人员" src="/static/images/work/personnelUnderInspection.png" onclick="toPage(HCZ,this)" />
                                <input name="submit" type="image" value="核查失败人员" src="/static/images/work/verificationOfFailedpersonnel.png" onclick="toPage(HCSB,this)" />
                                <input name="submit" type="image" value="核查成功人员" src="/static/images/work/checkSuccessful.png" onclick="toPage(HCCG,this)" />
                                <input name="submit" type="image" value="信息补录" src="/static/images/work/informationCollection.png" onclick="toPage(XXBL,this)" />
                                <input name="submit" type="image" value="未衔接" src="/static/images/work/notConnected.png" onclick="toPage(WXJ,this)" />
                                <input name="submit" type="image" value="待衔接" src="/static/images/work/toJoin.png" onclick="toPage(DXJ,this)" />
                                <input name="submit" type="image" value="衔接中" src="/static/images/work/joinIn.png" onclick="toPage(XJZ,this)" />
                                <input name="submit" type="image" value="已衔接" src="/static/images/work/haveConnected.png" onclick="toPage(YXJ,this)" />
                                <input name="submit" type="image" value="衔接失败" src="/static/images/work/connecteFailed.png" onclick="toPage(XJSB,this)" />
                        <#--监狱、看守所、社矫中心的上级：监狱管理局、公安监管支队、公安监管总队、区县及以上社矫-->
                        <#--司法所-->
                        <#elseif level=='09'|| level=='4'|| level=='13'|| level='14' || level='11'|| level='15'|| level=='03'>
                                <input name="submit" type="image" value="全部" src="/static/images/work/all.png" onclick="toPage(QB,this)" />
                                <input name="submit" type="image" value="核查中人员" class="inputCtl" src="/static/images/work/personnelUnderInspection.png" onclick="toPage(HCZ,this)" />
                                <input name="submit" type="image" value="核查失败人员" src="/static/images/work/verificationOfFailedpersonnel.png" onclick="toPage(HCSB,this)" />
                                <input name="submit" type="image" value="核查成功人员" src="/static/images/work/checkSuccessful.png" onclick="toPage(HCCG,this)" />
                                <input name="submit" type="image" value="未衔接" src="/static/images/work/notConnected.png" onclick="toPage(WXJ,this)" />
                                 <input name="submit" type="image" value="衔接中" src="/static/images/work/joinIn.png" onclick="toPage(XJZ,this)" />
                                <input name="submit" type="image" value="已衔接" src="/static/images/work/haveConnected.png" onclick="toPage(YXJ,this)" />
                                <input name="submit" type="image" value="衔接失败" src="/static/images/work/connecteFailed.png" onclick="toPage(XJSB,this)" />
                        <#--司法区县/地市（除了上报人员）-->
                        <#elseif level=='07'|| level=='08'>
                                <input name="submit" type="image" value="全部" src="/static/images/work/all.png" onclick="toPage(QB,this)" />
                                <input name="submit" type="image" value="核查中人员" class="inputCtl" src="/static/images/work/personnelUnderInspection.png" onclick="toPage(HCZ,this)" />
                                <input name="submit" type="image" value="核查失败人员" src="/static/images/work/verificationOfFailedpersonnel.png" onclick="toPage(HCSB,this)" />
                                <input name="submit" type="image" value="核查成功人员" src="/static/images/work/checkSuccessful.png" onclick="toPage(HCCG,this)" />
                                <input name="submit" type="image" value="未衔接" src="/static/images/work/notConnected.png" onclick="toPage(WXJ,this)" />
                                <input name="submit" type="image" value="衔接中" src="/static/images/work/joinIn.png" onclick="toPage(XJZ,this)" />
                                <input name="submit" type="image" value="已衔接" src="/static/images/work/haveConnected.png" onclick="toPage(YXJ,this)" />
                                <input name="submit" type="image" value="衔接失败" src="/static/images/work/connecteFailed.png" onclick="toPage(XJSB,this)" />
                                <input name="submit" type="image" value="双列管申请成功" src="/static/images/work/slgSuccessful.png" onclick="toPage(SLGCG,this)" />
                                <input name="submit" type="image" value="双列管申请失败" src="/static/images/work/slgFailed.png" onclick="toPage(SLGSB,this)" />
                                <input name="submit" type="image" value="发起迁移" src="/static/images/work/aMigration.png" onclick="toPage(FQQY,this)" />
                                <input name="submit" type="image" value="接收迁移" src="/static/images/work/rMigration.png" onclick="toPage(JSQY,this)" />
                                <input name="submit" type="image" value="户籍迁移待审批" src="/static/images/work/transferHousehold.png" onclick="toPage(JCBJdDSP,this)"/>
                                <input name="submit" type="image" value="解除帮教待审批" src="/static/images/work/toRemoveHelped.png" onclick="toPage(JCBJdDSP,this)" />
                                <input name="submit" type="image" value="已解除帮教" src="/static/images/work/removeHelped.png" onclick="toPage(JCBJ,this)"/>
                        <#--司法厅/市局--><#--待确定-->
                        <#elseif level=='06'>
                                <input name="submit" type="image" value="全部" src="/static/images/work/all.png" onclick="toPage(QB,this)" />
                                <input name="submit" type="image" value="核查中人员" class="inputCtl" src="/static/images/work/personnelUnderInspection.png" onclick="toPage(HCZ,this)" />
                                <input name="submit" type="image" value="核查失败人员" src="/static/images/work/verificationOfFailedpersonnel.png" onclick="toPage(HCSB,this)" />
                                <input name="submit" type="image" value="核查成功人员" src="/static/images/work/checkSuccessful.png" onclick="toPage(HCCG,this)" />
                                <input name="submit" type="image" value="未衔接" src="/static/images/work/notConnected.png" onclick="toPage(WXJ,this)" />
                                <input name="submit" type="image" value="衔接中" src="/static/images/work/joinIn.png" onclick="toPage(XJZ,this)" />
                                <input name="submit" type="image" value="已衔接" src="/static/images/work/haveConnected.png" onclick="toPage(YXJ,this)" />
                                <input name="submit" type="image" value="衔接失败" src="/static/images/work/connecteFailed.png" onclick="toPage(XJSB,this)" />
                                <input name="submit" type="image" value="双列管申请失败" src="/static/images/work/slgFailed.png" onclick="toPage(SLGSB,this)" />
                                <input name="submit" type="image" value="双列管申请成功" src="/static/images/work/slgSuccessful.png" onclick="toPage(SLGCG,this)" />
                                <input name="submit" type="image" value="已解除帮教" src="/static/images/work/removeHelped.png" onclick="toPage(JCBJ,this)" />
                        </#if>
                          <#--司法所-->
                        <#if level=='03'>
                          <input name="submit" type="image" value="已解除帮教" src="/static/images/work/removeHelped.png" onclick="toPage(JCBJ,this)" />
                        </#if>
                    </ul>
                </div>
            </div>
        </div>
        <div class="tab-wrapper">
            <table class="mini-tabs-table mini-tabs-plain" cellspacing="0" cellpadding="0">
                <tbody>
                    <tr>
                        <td style="text-align:left;vertical-align:top;width:100%;">
                            <div class="mini-tabs-bodys mini-tabs-body-top mini-tabs-hideOverflow" style="padding: 2px; border-bottom: 0; width: 1550px;">
                                <div id="mini-2$body$1" class="mini-tabs-body mini-tabs-hideOverflow" style="height: 1010px;">
                                    <#if level=='03'|| level=='07'|| level=='08' || level='06' || level='09' || level='11' || level='15' || level='4' || level='13'>
                                        <iframe id="stateTag" name="mini-iframe-9" src="/basic/public-list/view/showCheckColumn?id=258034825428992&state=2" style="width: 100%; height: 100%; position: relative; left: 0px; border: 0px"></iframe>
                                    <#else>
                                        <iframe id="stateTag" name="mini-iframe-9" src="/basic/public-list/view/showCheckColumn?id=258034825428992&state=1" style="width: 100%; height: 100%; position: relative; left: 0px; border: 0px" ></iframe>
                                    </#if>
                                </div>
                            </div>
                        </td>
                        <td></td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
</div>
<script src="/static/js/common/common.js" type="text/javascript"></script>
<script type="text/javascript" src="/static/js/main-page/messageNotification.js"></script>
<script type="text/javascript">
    mini.parse();
    var grid = mini.get("datagrid1");
    var freeMage=mini.get("stateTag");
    if (grid !== undefined) {
        grid.load();
    }
    function onCheckedChanged(e) {
        var btn = e.sender;
        var checked = btn.getChecked();
        var text = btn.getText();

        if(checked){
            alert(text);
        }
    }
    function toPage(state,obj){
        //清空其它同类按钮选中颜色
        $('input[type="image"]').removeClass("inputCtl");
        //点击后变色
        $(obj).addClass("inputCtl");

        $("#stateTag").attr("src", '/basic/public-list/view/showCheckColumn?id=258034825428992&state='+state);
    }

    function onActionRenderer(e) {
        var s = "";
        <#if midList?? && (midList?size &gt; 0) >
        <#list midList>
        <#items as resource>
        s += "&nbsp;<a class=\"mini-button ${resource.icon}\"  name=\"midbtn_${resource.field}\" resid=\"${resource.id?c}\" onclick=\"${(resource.action)}\"  >&nbsp;${resource.name}&nbsp;</a>&nbsp";
        </#items>
        </#list>
        </#if>
        return s;
    }

    function search() {
        var params = {};
        <#if rightList?? && (rightList?size &gt; 0) >
        <#list rightList>
        <#items as resource>
        var key = "${((resource.field!'')?length>0)?string((resource.field!''),'null')}";
        if (key != null) {
            var value = mini.getByName(key).getValue();
            if (860 == ${resource.type}) {
                params[key] = mini.formatDate(value, "yyyy-MM-dd HH:mm:ss");
            } else {
                params[key] = value;
            }
        }
        </#items>
        </#list>
        </#if>
        grid.load(params);
        <!-- 判断params = {} 是否为空,不为空则执行查询请求-->
        /* var flag = false;
         for (var prop in params) {
             var value = params[prop];
             if(null != value && "" != value && undefined != value ){
                 flag = true;
                 break;
             }
         }
         if(flag){
             grid.load(params);
         } else{
             alert("请输入查询条件");
         }*/
    }
</script>
<script src="/static/js/azbj/yazgl/search_code.js" type="text/javascript"></script>
<#if self.outjs?length gt 0>
    <script src="/static/js/${self.outjs}" type="text/javascript"></script>
</#if>
</body>
</html>